package com.example.dw.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalTime;

/**
 * 签到实体类
 * @author system
 * @since 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sign")
public class Sign implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 签到ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    @TableField("userid")
    private Integer userid;

    /**
     * 签到日期
     */
    @TableField("sign_date")
    private String signDate;

    /**
     * 签到时间
     */
    @TableField("create_at")
    private LocalTime createAt;

    /**
     * 更新时间
     */
    @TableField("update_at")
    private LocalTime updateAt;
} 